package com.maoyan.dahufa.provider;

import com.meituan.mtrace.http.TraceHandlerInterceptor;
import org.springframework.beans.factory.config.MethodInvokingFactoryBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
 * Created by xiaozhiping on 17/2/16.
 */
@SpringBootApplication
@EnableScheduling
@ImportResource(locations = { "classpath:thrift-bean.xml","classpath:mybatis-config.xml" })
public class AppStarter{

    public static void main(String[] args) {
        SpringApplication.run(AppStarter.class, args);
    }

}
